<template>
  <cwCommon :type="type" :financeData="form" @clear="clearForm" :name="cw">
    <el-form-item label="临款名称">
      <el-input v-model="form.name" placeholder="临款名称"></el-input>
    </el-form-item>

    <el-form-item label="临款金额">
      <el-input v-model="form.money" placeholder="临款金额" @focus="$cls" @blur="$fmoney" ></el-input>
    </el-form-item>
  </cwCommon>
</template>

<script>
    import cwCommon from "./cwCommon";
    export default {
        name: "cwTemp",
        data(){
            return {
                type: 9,
                form: {
                    name: '',
                    money: '0.00',
                },
              cw:'临款'
            }
        },
        components: {cwCommon},
      methods: {
        clearForm(){
          this.form.name = ''
          this.form.money = '0.00'
        }
      }
    }
</script>

<style scoped>

</style>
